package com.yhos.platform.oopston.web.api.dto.shunfeng;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class ShunfengReceiverCreateDTO {

    @ApiModelProperty("receiver 到方详细信息")
    private String receiver;

    @ApiModelProperty(value = "到方国家代码，二字码或三字码", required = true)
    @NotNullValid(message = "到方国家代码，二字码或三字码不能为空")
    private String country_code;

    @ApiModelProperty(value = "到方公司名称", required = true)
    @NotNullValid(message = "到方公司名称不能为空")
    private String company;

    @ApiModelProperty(value = "到件方联系电话 至少6位", required = true)
    @NotNullValid(message = "到件方联系电话不能为空")
    private String phone;

    @ApiModelProperty(value = "到件方手机至少6位 （没有时可填到方电话）", required = true)
    @NotNullValid(message = "到件方手机至少6位 （没有时可填到方电话）不能为空")
    private String mobile;

    @ApiModelProperty(value = "到方邮编", required = true)
    @NotNullValid(message = "到方邮编不能为空")
    private String zipcode;

    @ApiModelProperty(value = "到方邮箱", required = false)
    private String email;

    @ApiModelProperty(value = "到方英文地址", required = true)
    @NotNullValid(message = "到方英文地址不能为空")
    private List<ShunfengReceiverAddressCreateDTO> address;


    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getCountry_code() {
        return country_code;
    }

    public void setCountry_code(String country_code) {
        this.country_code = country_code;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<ShunfengReceiverAddressCreateDTO> getAddress() {
        return address;
    }

    public void setAddress(List<ShunfengReceiverAddressCreateDTO> address) {
        this.address = address;
    }
}
